package com.ruoyi.readyProcurement.mapper;

import com.ruoyi.procurement.domain.ProcurementModel;
import com.ruoyi.readyProcurement.domain.ReadyProcurement;
import com.ruoyi.readyProcurement.domain.ReadyProcurementModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface ReadyMapper {

    public int addreadyProcurement(ReadyProcurement readyProcurement);

    public  int addreadyProcurementModel(ReadyProcurementModel readyProcurementModel);

    public void  removeReadyProcurement(Long readyId);

    public  void removeReadyProcurementModel(Long readyId);

    public List<ReadyProcurement> selectReadyProcurements(ReadyProcurement readyProcurement);

    public ReadyProcurement selectReadyProcurement(Long readyId);

    public int updateReadyProcurement(ReadyProcurement readyProcurement);

    public List<ReadyProcurement> auditReadyProcurement(Long deptId);

    public List<ReadyProcurement> auditCheckProcurement(Long deptId);
}
